.container {
  height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.section {
  margin-bottom: 32px;
}

.sectionHeader {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 8px;
}

.sectionIcon {
  font-size: 24px;
  margin-right: 12px;
}

.sectionTitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.appGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  padding: 0 8px;
}

.appCard {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  min-height: 120px;
  justify-content: center;
}

.appCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--app-color);
}

.appCard:active {
  transform: translateY(-2px);
}

.appIconWrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--app-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.appCard:hover .appIconWrapper {
  background-color: var(--app-color);
  transform: scale(1.1);
}

.appIcon {
  font-size: 24px;
  transition: all 0.3s ease;
}

.appCard:hover .appIcon {
  filter: brightness(0) invert(1);
}

.appTitle {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.appCard:hover .appTitle {
  color: var(--app-color);
  font-weight: 600;
}

/* 自定义滚动条样式 */
.content::-webkit-scrollbar {
  width: 6px;
}

.content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.content::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .content {
    padding: 12px;
  }
  
  .appGrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 4px;
  }
  
  .appCard {
    padding: 16px 12px;
    min-height: 100px;
  }
  
  .appIconWrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  
  .appIcon {
    font-size: 20px;
  }
  
  .appTitle {
    font-size: 13px;
  }
  
  .sectionTitle {
    font-size: 18px;
  }
  
  .sectionIcon {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .appGrid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
  }
  
  .appCard {
    padding: 24px 20px;
    min-height: 140px;
  }
  
  .appIconWrapper {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }
  
  .appIcon {
    font-size: 28px;
  }
  
  .appTitle {
    font-size: 15px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease-out;
}

.section:nth-child(2) {
  animation-delay: 0.1s;
}

.section:nth-child(3) {
  animation-delay: 0.2s;
}